﻿using System;
using System.Collections.Generic;

namespace FinancePortal.Domain.Model
{
    public class ActivitySchedule : Entity
    {
        public ActivitySchedule()
        {
            Participants = new List<Resource>();
        }

        public virtual Activity Activity { get; set; }

        public virtual int ActivityId { get; set; }

        public virtual Resource Owner { get; set; }

        public virtual int OwnerId { get; set; }

        public virtual int WarningDays { get; set; }

        public virtual DateTime FromDate { get; set; }

        public virtual DateTime ToDate { get; set; }

        public virtual DateTime RegisterDate { get; set; }

        public virtual bool Completed { get; set; }

        public virtual IList<Resource> Participants { get; set; }

        public virtual IList<Area> AreasClient { get; set; }
    }
}
